//
//  XLLoginRegisterPresenterProtocol.h
//  industry
//
//  Created by xl on 2020/11/19.
//  Copyright © 2020 Haier. All rights reserved.
//

#import <Foundation/Foundation.h>

@class XLLoginModel;

@protocol XLLoginRegisterPresenterProtocol <NSObject>

// XLLoginRegisterPresenterProtocol 业务逻辑
//获取AES
- (void)requestFetchAESKey:(XLFetchAESType)type model:(XLLoginModel *)model;

//密码登录
- (void)requestSMSCodeLoginPhone:(NSString *)phone
                      verifyCode:(NSString *)verifyCode
                         isStaff:(BOOL)isStaff;

//校验图片码，以便获取短信校验码
- (void)requestCheckImageCode:(NSString *)imageCode
                        phone:(NSString *)phone
                   numberType:(NSInteger)numberType;

//校验注册或者忘记密码下一步
- (void)requestCheckRegisterOrForgetNextPhone:(NSString *)phone
                                   numberType:(NSInteger)numberType
                                 verification:(NSString *)verification
                                      isStaff:(BOOL)isStaff;

- (void)requestShowStaffLoginStatus;


//微信绑定
- (void)requestBindPhone:(NSString *)phone
                      verifyCode:(NSString *)verifyCode
                    openID:(NSString *)idcode
                   isStaff:(BOOL)isStaff
                    with:(XLLoginBindType)bindType;


@end


